package io.renren.modules.gengyun.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.modules.gengyun.dao.AirConditionHourlyDao;
import io.renren.modules.gengyun.dao.IndicatorPeriodDao;
import io.renren.modules.gengyun.entity.AirConditionHourlyEntity;
import io.renren.modules.gengyun.entity.IndicatorPeriodEntity;
import io.renren.modules.gengyun.service.IndicatorPeriodService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("indicatorPeriodService")
public class IndicatorPeriodServiceImpl extends ServiceImpl<IndicatorPeriodDao, IndicatorPeriodEntity> implements IndicatorPeriodService {

    @Autowired
    private IndicatorPeriodDao indicatorPeriodDao;

    @Override
    public List<String> getIndicators(String indicatorType) {
        return indicatorPeriodDao.getIndicators(indicatorType);
    }
}
